<include file="Public/header"/> 
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title">图片组图管理</h3>
                    <div class="box-tools pull-right">
                      <a href="#" data-toggle="modal" data-target="#password-modal3" class="btn btn-sm  btn-primary">添加</a>
                    </div>
                </div><!-- /.box-header -->


        <!--modal start-->
        <div class="modal fade" id="password-modal3">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                        <h4 class="modal-title"> 添加组图标题</h4>
                    </div>
                    <form role="form" method="post" action="__APP__/News/add">
                        <div class="modal-body">
                            <div class="form-group">
                                <label style="text-align: left">标题</label>
                                <input type="text" class="form-control" name="title">
                            </div>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                    </form>
                </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div>
        <!--modal end-->

                <div class="box-body">
                    <table id="example2" class="table table-bordered table-hover">
                        <thead>
                        <tr>
                            <th># </th>
                            <th>标题</th>
                            <th>时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                          <volist name="list" id="vo">
                            <tr>
                            <td>{$vo.zutu_id}</td>
                            <td>{$vo.zutu_name}</td>
                            <td>{$vo.createtime}</td>
                            <td>
                                <span class="span-container"><a href="__APP__/News/delete?id={$vo.zutu_id}" onClick="return confirm('确认要删除？');">删除</a></span>
                            </td>
                        </tr>
                        </volist>
                         </tbody>
                    </table>
                </div><!-- /.box-body -->
            </div><!-- /.box -->

        </div>
    </div>
</section>

      </div><!-- /.content-wrapper -->
        <footer class="main-footer">
            <strong>Copyright &copy; 2016 Song.</strong> All rights reserved.
        </footer>

      <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      <div class="control-sidebar-bg"></div>
    </div><!-- ./wrapper -->
    <!--提示-->
<style>
    .layout_container {
        width: 100%;
        position: fixed;
        top: 50px;
        text-align: center;
        transform: translate(0,-50px);
        z-index: 20000;
    }

    .pop_container {
        display: inline-block;
        padding: 10px 40px;
        background: #ff0000;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        transform: translate(0,0);
        -moz-box-shadow:0px 0px 13px #333333;
        -webkit-box-shadow:0px 0px 13px #333333;
        box-shadow:0px 0px 13px #333333;
    }

    .pop_container p {
        padding: 0;
        margin: 0;
        color: #fff;
        font-weight: 600;
    }
</style>



<script>
    setTimeout(function(){
       // $('.layout_container').css('transition','all 2s');
       // $('.layout_container').css('transform','translate(0,-50px)');
        $('.layout_container').fadeOut(1000);
    },2000);

    /*
    function toHidden()
    {
        setTimeout(function(){
            $('.layout_container').css('transition','all 2s');
            $('.layout_container').css('transform','translate(0,-50px)');
        },2000);
    }*/
</script>    <!-- jQuery UI 1.11.4 -->
    <script src="__PUBLIC__/lib/js/jquery-ui.min.js"></script>
    <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
    <script>
      $.widget.bridge('uibutton', $.ui.button);
    </script>
    <!-- Bootstrap 3.3.5 -->
    <script src="__PUBLIC__/lib/js/bootstrap.min.js"></script>


  </body>
</html>
